package com.pzhyd.sc.util;

import java.io.File;

/** 
 * @Project: webvote
 * @Title: DeleteUtil.java
 * @Package com.pzhyd.sc.util
 * @Description: TODO
 * @author Gaoshiwei 812257531@qq.com
 * @date Jul 16, 2012 8:33:23 PM
 * @Copyright: 2012 攀枝花移动 All rights reserved.
 * @version V1.0  
 */
public class DeleteUtil {

	public boolean deletefile(String spath){
		File file=new File(spath);
		if (file.isFile() && file.exists()) {   
	        file.delete();   
	        return true;
	    }  
		else{
			return false;
		}
	}
}
